export interface Role {
  id: number
  role_name: string
  role_key: string
  role_type: number
  remark: string
  status: number
  is_sys: number
  time: number
  update_time: number
  disabled: number
}

export interface Menu {
  id: number
  name: string
  type: number
  parent_id: number
  path: string
  component: string
  permission: string
  is_frame: number
  is_cache: number
  full_page: number
  tag_bread: number
  visible: number
  status: number
  icon: string
  remark: string
  order: number
  time: number
  update_time: number
  disabled: number
  is_half: number
}

export interface UserInfo {
  id: number
  user_name: string
  nick_name: string
  open_id?: string | null
  password?: string | null
  mobile: string
  avatar: string
  email: string
  sex: number
  dept_id: number
  remark: string
  status: number
  login_ip: string | null
  login_time: number | null
  time: number
  update_time: number
  disabled: number
  roles: Role[] | null
  menus: Menu[] | null
}
